import request from '@/utils/request'

// 查询划款明细列表
export function listDealPaymentDetail(query) {
  return request({
    url: '/paymentDetail/dealPaymentDetail/list',
    method: 'get',
    params: query
  })
}

// 查询划款明细详细
export function getDealPaymentDetail(id) {
  return request({
    url: '/paymentDetail/dealPaymentDetail/' + id,
    method: 'get'
  })
}

// 保存划款明细
export function saveDealPaymentDetail(data) {
  return request({
    url: '/paymentDetail/dealPaymentDetail/save',
    method: 'post',
    data: data
  })
}

// 删除划款明细
export function delDealPaymentDetail(id) {
  return request({
    url: '/paymentDetail/dealPaymentDetail/' + id,
    method: 'delete'
  })
}

// 导出划款明细
export function exportDealPaymentDetail(query) {
  return request({
    url: '/paymentDetail/dealPaymentDetail/export',
    method: 'get',
    params: query
  })
}
